﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Logistics_Management_System.Resource
{
    public class Vehicle_Repository : ServiceBase
    {
        public LG_Vehicle GetVehicleById(int vehicle_id)
        { return (from vehicle in this.DB.LG_Vehicles where vehicle.Id == vehicle_id select vehicle).FirstOrDefault<LG_Vehicle>(); }
    }
}